# 断言工具
def login_assert(resp,status_code,code,msg):
    assert resp.status_code == status_code
    assert resp.json().get('code') == code
    assert msg == resp.json().get('msg')
def emp_assert(resp,status_code,code):
    assert resp.status_code == status_code
    assert resp.json().get('code') == code

